package org.example.springsecurity_.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ResponseResult<T> {
    int resCode;
    String msg;
    T data;

//    private ResponseResult success(T data,String msg,int resCode){
//        return new ResponseResult<>(resCode,msg,data);
//    }
}
